package com.tn.bo;

import java.util.Date;
import java.util.List;

import javax.persistence.Id;
import javax.persistence.Transient;

import com.googlecode.objectify.annotation.Entity;

@Entity
public class POLineItem {
	@Id
	private Long lineItemUniqueId;
	private String orderNumber;
	private String orderLineItemNumber;
	private boolean status;
	private String lineDescription;
	private String partNumber;
	private Double quantity;
	private Double unitPrice;
	private String unitCurrencySymbol;
	private String uomSymbol;
	private Double lineAmount;
	@Transient
	private List<Comment> lineComments;
	private Double quantityInvoiced;
	private Double quantityAccepted;
	private Double quantityRejected;
	private Double quantityShipped;
	private Date lastInvoicedDate;
	private String customField1;
	private String customField2;
	private String customField3;
	private String customField4;
	private String customField5;
	private String customField6;
	private String customField7;
	private String customField8;
	private Double invoicedAmount;
	
	
	public Double getInvoicedAmount() {
		return invoicedAmount;
	}
	public void setInvoicedAmount(Double invoicedAmount) {
		this.invoicedAmount = invoicedAmount;
	}
	@Transient
	private List<POSplitLineItem> lineItemSplits;
	
	
	public List<POSplitLineItem> getLineItemSplits() {
		return lineItemSplits;
	}
	public void setLineItemSplits(List<POSplitLineItem> lineItemSplits) {
		this.lineItemSplits = lineItemSplits;
	}
	public Long getLineItemUniqueId() {
		return lineItemUniqueId;
	}
	public void setLineItemUniqueId(Long lineItemUniqueId) {
		this.lineItemUniqueId = lineItemUniqueId;
	}
	public String getOrderNumber() {
		return orderNumber;
	}
	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}
	public String getOrderLineItemNumber() {
		return orderLineItemNumber;
	}
	public void setOrderLineItemNumber(String orderLineItemNumber) {
		this.orderLineItemNumber = orderLineItemNumber;
	}
	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}
	public String getLineDescription() {
		return lineDescription;
	}
	public void setLineDescription(String lineDescription) {
		this.lineDescription = lineDescription;
	}
	public String getPartNumber() {
		return partNumber;
	}
	public void setPartNumber(String partNumber) {
		this.partNumber = partNumber;
	}
	public Double getQuantity() {
		return quantity;
	}
	public void setQuantity(Double quantity) {
		this.quantity = quantity;
	}
	public Double getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}
	
	public String getUnitCurrencySymbol() {
		return unitCurrencySymbol;
	}
	public void setUnitCurrencySymbol(String unitCurrencySymbol) {
		this.unitCurrencySymbol = unitCurrencySymbol;
	}
	public String getUomSymbol() {
		return uomSymbol;
	}
	public void setUomSymbol(String uomSymbol) {
		this.uomSymbol = uomSymbol;
	}
	public Double getLineAmount() {
		return lineAmount;
	}
	public void setLineAmount(Double lineAmount) {
		this.lineAmount = lineAmount;
	}
	public List<Comment> getLineComments() {
		return lineComments;
	}
	public void setLineComments(List<Comment> lineComments) {
		this.lineComments = lineComments;
	}
	public Double getQuantityInvoiced() {
		return quantityInvoiced;
	}
	public void setQuantityInvoiced(Double quantityInvoiced) {
		this.quantityInvoiced = quantityInvoiced;
	}
	public Double getQuantityAccepted() {
		return quantityAccepted;
	}
	public void setQuantityAccepted(Double quantityAccepted) {
		this.quantityAccepted = quantityAccepted;
	}
	public Double getQuantityRejected() {
		return quantityRejected;
	}
	public void setQuantityRejected(Double quantityRejected) {
		this.quantityRejected = quantityRejected;
	}
	public Double getQuantityShipped() {
		return quantityShipped;
	}
	public void setQuantityShipped(Double quantityShipped) {
		this.quantityShipped = quantityShipped;
	}
	public Date getLastInvoicedDate() {
		return lastInvoicedDate;
	}
	public void setLastInvoicedDate(Date lastInvoicedDate) {
		this.lastInvoicedDate = lastInvoicedDate;
	}
	public String getCustomField1() {
		return customField1;
	}
	public void setCustomField1(String customField1) {
		this.customField1 = customField1;
	}
	public String getCustomField2() {
		return customField2;
	}
	public void setCustomField2(String customField2) {
		this.customField2 = customField2;
	}
	public String getCustomField3() {
		return customField3;
	}
	public void setCustomField3(String customField3) {
		this.customField3 = customField3;
	}
	public String getCustomField4() {
		return customField4;
	}
	public void setCustomField4(String customField4) {
		this.customField4 = customField4;
	}
	public String getCustomField5() {
		return customField5;
	}
	public void setCustomField5(String customField5) {
		this.customField5 = customField5;
	}
	public String getCustomField6() {
		return customField6;
	}
	public void setCustomField6(String customField6) {
		this.customField6 = customField6;
	}
	public String getCustomField7() {
		return customField7;
	}
	public void setCustomField7(String customField7) {
		this.customField7 = customField7;
	}
	public String getCustomField8() {
		return customField8;
	}
	public void setCustomField8(String customField8) {
		this.customField8 = customField8;
	}
	
	
	
	
	
}
